<?php

namespace app\common\library;

use support\Log;

class CustomLog
{
    public static function eLog($e, $title = '操作')
    {
        Log::channel('gii')->error($title . '失败行号：' . $e->getLine() . '--文件：' . $e->getFile() . '--错误信息：' . $e->getMessage());
    }
}